bootEditionConfig = {
    isDist: true,
    staticPath: '../dist/',
    version: '1.0.0'
};
var staticPath = bootEditionConfig.staticPath + bootEditionConfig.version;

var cssPathArr = [
    "/plugins/bootstrap/css/bootstrap.min.css",
    "/plugins/font-awesome/css/font-awesome.min.css",
    "/css/base/base.min.css",
    "/layout/main_5.css"
];
for (i = 0; i < cssPathArr.length; i++) {
    var curPath = cssPathArr[i];

    if (cssPathArr[i].indexOf('http') == -1 && cssPathArr[i].indexOf('//') == -1) {
        curPath = staticPath + curPath;
    }

    document.write('<link href="@realPath" rel=\"stylesheet\">'.replace('@realPath', curPath));
}

var jsPathArr = [
    "/js/jquery.min.js",
    "/plugins/bootstrap/js/bootstrap.min.js",
    "https://cdn.bootcss.com/metisMenu/2.7.0/metisMenu.js",
    "https://cdn.bootcss.com/jQuery-slimScroll/1.3.8/jquery.slimscroll.js",
    "https://cdn.bootcss.com/pace/1.0.2/pace.min.js",
    '/js/jquery.tmpl.min.js',
    '/js/underscore-min.min.js',
    "/layout/hplus.min.js",
    "/layout/contabs.min.js",
    "/layout/main.min.js"
];
for (i = 0; i < jsPathArr.length; i++) {
    var curPath = jsPathArr[i];

    if (jsPathArr[i].indexOf('http') == -1 && jsPathArr[i].indexOf('//') == -1) {
        curPath = staticPath + curPath;
    }

    document.write('<script src="@realPath"></script>'.replace('@realPath', curPath));
}